package com.spic.business.accident.exterevents.plan.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;

/**
 * 内部事件整改计划对象 accident_external_rectification_plan
 *
 * @author spic
 * @date 2021-12-03
 */
public class AccidentExternalRectificationPlan extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * di 主键
     */
    private Long id;

    /**
     * 公司
     */
    @Excel(name = "公司")
    private String company;

    /**
     * 整改计划
     */
    @Excel(name = "整改计划")
    private String rectificationPlan;

    /**
     * 事件名称
     */
    @Excel(name = "事件名称")
    private String eventName;

    /**
     * 事件编号
     */
    @Excel(name = "事件编号")
    private String eventNumber;

    /**
     * 责任单位
     */
    @Excel(name = "责任单位")
    private String dutyDept;

    /**
     * 事故类型
     */
    @Excel(name = "事故类型")
    private String accidentType;

    /**
     * 编制时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "编制时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date compileTime;

    /**
     * 安全编辑人员
     */
    @Excel(name = "安全编辑人员")
    private String safetyEditPersonnel;

    /**
     * 安全编辑时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "安全编辑时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date safetyEditTime;

    /**
     * 安全措施
     */
    @Excel(name = "安全措施")
    private String securityMeasures;

    /**
     * 组织编辑人员
     */
    @Excel(name = "组织编辑人员")
    private String orgEditPersonnel;

    /**
     * 组织编辑时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "组织编辑时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orgEditTime;

    /**
     * 组织措施
     */
    @Excel(name = "组织措施")
    private String orgMeasures;

    /**
     * 技术编辑人员
     */
    @Excel(name = "技术编辑人员")
    private String technologyEditPersonnel;

    /**
     * 技术编辑时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "技术编辑时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date technologyEditTime;

    /**
     * 技术措施
     */
    @Excel(name = "技术措施")
    private String technologyMeasures;

    /**
     * 附件地址
     */
    @Excel(name = "附件地址")
    private String fileUrl;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String planStatus;

    /**
     * 备注
     */
    private String remrk;

    /**
     * 部门权限过滤字段
     */
    private Long deptId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCompany() {
        return company;
    }

    public void setRectificationPlan(String rectificationPlan) {
        this.rectificationPlan = rectificationPlan;
    }

    public String getRectificationPlan() {
        return rectificationPlan;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }

    public String getEventName() {
        return eventName;
    }

    public void setEventNumber(String eventNumber) {
        this.eventNumber = eventNumber;
    }

    public String getEventNumber() {
        return eventNumber;
    }

    public void setDutyDept(String dutyDept) {
        this.dutyDept = dutyDept;
    }

    public String getDutyDept() {
        return dutyDept;
    }

    public void setAccidentType(String accidentType) {
        this.accidentType = accidentType;
    }

    public String getAccidentType() {
        return accidentType;
    }

    public void setCompileTime(Date compileTime) {
        this.compileTime = compileTime;
    }

    public Date getCompileTime() {
        return compileTime;
    }

    public void setSafetyEditPersonnel(String safetyEditPersonnel) {
        this.safetyEditPersonnel = safetyEditPersonnel;
    }

    public String getSafetyEditPersonnel() {
        return safetyEditPersonnel;
    }

    public void setSafetyEditTime(Date safetyEditTime) {
        this.safetyEditTime = safetyEditTime;
    }

    public Date getSafetyEditTime() {
        return safetyEditTime;
    }

    public void setSecurityMeasures(String securityMeasures) {
        this.securityMeasures = securityMeasures;
    }

    public String getSecurityMeasures() {
        return securityMeasures;
    }

    public void setOrgEditPersonnel(String orgEditPersonnel) {
        this.orgEditPersonnel = orgEditPersonnel;
    }

    public String getOrgEditPersonnel() {
        return orgEditPersonnel;
    }

    public void setOrgEditTime(Date orgEditTime) {
        this.orgEditTime = orgEditTime;
    }

    public Date getOrgEditTime() {
        return orgEditTime;
    }

    public void setOrgMeasures(String orgMeasures) {
        this.orgMeasures = orgMeasures;
    }

    public String getOrgMeasures() {
        return orgMeasures;
    }

    public void setTechnologyEditPersonnel(String technologyEditPersonnel) {
        this.technologyEditPersonnel = technologyEditPersonnel;
    }

    public String getTechnologyEditPersonnel() {
        return technologyEditPersonnel;
    }

    public void setTechnologyEditTime(Date technologyEditTime) {
        this.technologyEditTime = technologyEditTime;
    }

    public Date getTechnologyEditTime() {
        return technologyEditTime;
    }

    public void setTechnologyMeasures(String technologyMeasures) {
        this.technologyMeasures = technologyMeasures;
    }

    public String getTechnologyMeasures() {
        return technologyMeasures;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setPlanStatus(String planStatus) {
        this.planStatus = planStatus;
    }

    public String getPlanStatus() {
        return planStatus;
    }

    public void setRemrk(String remrk) {
        this.remrk = remrk;
    }

    public String getRemrk() {
        return remrk;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("company", getCompany())
                .append("rectificationPlan", getRectificationPlan())
                .append("eventName", getEventName())
                .append("eventNumber", getEventNumber())
                .append("dutyDept", getDutyDept())
                .append("accidentType", getAccidentType())
                .append("compileTime", getCompileTime())
                .append("safetyEditPersonnel", getSafetyEditPersonnel())
                .append("safetyEditTime", getSafetyEditTime())
                .append("securityMeasures", getSecurityMeasures())
                .append("orgEditPersonnel", getOrgEditPersonnel())
                .append("orgEditTime", getOrgEditTime())
                .append("orgMeasures", getOrgMeasures())
                .append("technologyEditPersonnel", getTechnologyEditPersonnel())
                .append("technologyEditTime", getTechnologyEditTime())
                .append("technologyMeasures", getTechnologyMeasures())
                .append("fileUrl", getFileUrl())
                .append("planStatus", getPlanStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remrk", getRemrk())
                .append("deptId", getDeptId())
                .toString();
    }
}
